﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessPlatform.Core.BusinessObject.Properties
{
    /// <summary>
    /// 属性
    /// </summary>
    internal class PropertyInfo : IPropertyInfo
    {
        /// <summary>
        /// 属性名称
        /// </summary>
        public string PropertyName { get; set; }
        /// <summary>
        /// 属性类型
        /// </summary>
        public Type PropertyType { get; set; }
        /// <summary>
        /// 属性值
        /// </summary>
        public object PropertyValue { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public Type DbType { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        public bool IsPrimaryKey { get; set; }
        /// <summary>
        /// 联合主键
        /// </summary>
        public bool IsUnionKey { get; set; }
    }
}
